#ifndef lpt_myapp
#define lpt_myapp
class myapp{
    public:
        int size;
        vector<string> plat;
        vector<string> name_list;
        vector<string> sources_list;
        vector<string> updateable;
        vector<string> updateable_list;
        vector<int>    version_list;
        vector<int>    version_last;
        void           install      (string pk);
        void           remove       (string pk);
        void           showall      ();
        void           showupdate   ();
        void           checkupdate  ();
        void           update       (string pk,int check);
        void           updateall    ();
        myapp();
        ~myapp();
        void getplat();
        int getversion_list(string pk);
        int getversion_last(string pk);
        void getsources_list();
        int install_download_info(string pk);
        int install_download_tar(string pk,string pt);
};

#endif